package net.esj.basic.dao.ann.component.column;

import java.util.Collection;

public class CompositePrimaryKey implements PrimaryKey {

	private Collection<PrimaryKeyColumn> fields;
	
	public CompositePrimaryKey() {
		super();
	}

	public CompositePrimaryKey(Collection<PrimaryKeyColumn> fields) {
		super();
		this.fields = fields;
	}

	@Override
	public Object getKey() {
		return fields;
	}

	public void setFields(Collection<PrimaryKeyColumn> fields) {
		this.fields = fields;
	}

	
}
